<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>系统代码项设置</title>
<link href="${ctx}/css/main/base.css" rel="stylesheet" type="text/css"/>
<link href="${ctx}/css/main/main.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
function delete_code(id,no,noParent,name)
{
msg="'确认要删除代码分类 \""+name+"\" 么？";
 if(window.confirm(msg))
 {
  URL="../code/code_dic_deleteNextCode.action?dicId=" + id +"&dicNoParent=" + noParent+"&dicNo=" +no;
  parent.mright.location=URL;
 }
}

function goback()
{
    URL="../code/code_dic_blank.action";
    parent.mright.location=URL;
}
</script>
</head>
<body class="m_r">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab_m">
  <tr>
    <td colspan="2" class="zctop left"><span class="font14 zc_bt">添加自定义字典子分类</span></td>
  </tr>
  <tr>
    <td colspan="2" class="bg5"><s:hidden value="dicId"></s:hidden>
	 <s:property value="dicName"/></td>
  </tr>
   <s:iterator value="dics" status="dics" id="dic">
  <tr>
    <td class="bg5"><s:property value="#dic.dicNo"/>&nbsp;&nbsp;&nbsp;&nbsp;<s:property value="#dic.dicName"/></td>
    <td>
    <a href="ctx/../code_dic_searchNextCode.action?dicId=<s:property value="#dic.dicId"/>&dicNo=<s:property value="#dic.dicNo"/>&dicNoParent=<s:property value="#dic.dicNoParent"/>" target="mright">编辑</a>&nbsp;&nbsp;
    <a href="javascript:delete_code('<s:property value="#dic.dicId"/>','<s:property value="#dic.dicNo"/>','<s:property value="#dic.dicNoParent"/>','<s:property value="#dic.dicName"/>');" target="mright">删除</a>
    </td>
  </tr>
  </s:iterator>
  <tr>
    <td colspan="2"><a href="ctx/../code_dic_searchTopCodeNo.action?dicId=<s:property value="dicId"/>" target="mright"><img src="${ctx}/images/main/zd_z.gif" /></a></td>
  </tr>
  <tr>
    <td colspan="2" class="hei_1"><input  type="submit" class="log_f zc_b"  value="返 回"  onClick="javascript:goback();" />
    </td>
  </tr>
</table>
</body>
</html>